<script>
	import { templateName } from '@/config/config'
	export default {
		
		onLaunch: function() {
			console.log('App Launch')
			uni.getSystemInfo({
				success: (res) => {
					console.log('res', res)
					uni.setStorageSync('sysInfo', res)
				}
			})
		},
		onShow: function() {
			console.log('App Show')
			if (templateName == 'accompany') {
				// uni.reLaunch({
				// 	url: '/pages/accompany-tmp/index/index'
				// })
			}
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "@/common/style/base.scss"
</style>
